import game
import pyglet

def main(opts):
	game.init(opts.player_name, opts.faction, opts.host, opts.port, opts.latency, opts.packet_loss, opts.client)
	pyglet.app.run()

